package com.demo.service;

import com.demo.component.User;
import com.demo.repository.UserRepository;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.context.annotation.Bean;
import org.springframework.stereotype.Service;

/**
 * @Author :蕉绿
 * @Date : 2023/2/8 10:37
 * @Version : V1.0
 * @Description :
 */
@Service
public class UserService {

    @Autowired
    private UserRepository userRepository;
    public void getReUser() {
        System.out.println(userRepository.getUser());
    }
}
